home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / aplaunch.zip / APLAUNCH.DOC < prev    next >
Text File  |  1991-07-24  |  4KB  |  76 lines

  1.                              APPLICATION LAUNCHER
  2.                   A Visual Basic Application for Windows 3.0
  3.  
  4. Purpose:
  5.  
  6.     Provide a list oriented alternative for the desktop populated with icons.
  7.     An important part of my motivation was to explore what is possible in
  8.     Visual Basic.  The result is a reasonably convenient means of launching
  9.     Windows 3.0 applications by selecting from a list, where facilities are
  10.     provided to maintain the list.
  11.  
  12. Operation:
  13.  
  14.     APLAUNCH.EXE requires the presence of VBRUN100.DLL to operate.  It
  15.     searches for a file called APLAUNCH.INI in the directory from which it is
  16.     executed.  The File/Save menu option provides a means to store the list of
  17.     current choices (in the directory from which execution began).  Subsequent
  18.     execution will automatically read this INI file and fill the list
  19.     appropriately.
  20.  
  21.     The list of applications may be increased by pressing Add.  You will then
  22.     be able to add any exe, com, bat, or pif file, together with an
  23.     appropriate description.  Highlighted list elements can be removed by
  24.     pressing Delete.  Execution of the file linked to a description happens by
  25.     either double clicking on the list element or by pressing the Execute
  26.     button with an element highlighted.
  27.  
  28. Assumptions:
  29.  
  30.     The big assumption is that the Visual Basic Dynamic Link Library,
  31.     VBRUN100.DLL, is accessible at execution time.  Microsoft explicitly
  32.     allows free distribution of this file.  You should be able to find a copy
  33.     of this Dynamic Link Library on any bulletin board on which you find this
  34.     file.
  35.  
  36.     This application was developed on monochrome systems.  No effort was made
  37.     to select appropriate colours.  If you have a full copy of Visual Basic,
  38.     modify the code if you want different colours.  It also assumes the
  39.     presence of 8 and 10 point System fonts.  This should not pose a problem
  40.     for most Windows 3.0 environments.  Again, change the code if you want
  41.     to use different fonts.
  42.  
  43. Limitations:
  44.  
  45.     There is an explicit limit of 100 entries for the list of applications to
  46.     launch.  Change the declaration for glist() in the Global module,
  47.     remembering to also change gsize (currently initialized to 99).  Some
  48.     effort has been made to trap "errors".  It is almost certainly the case,
  49.     however, that there remain a number of untrapped possible error
  50.     conditions.
  51.  
  52.     This code is offered as a demonstration.  I retain the copyright, but am
  53.     happy to see it freely distributed.  I would appreciate it if this
  54.     commentary remains attached to the code.  No warranties of any kind are
  55.     provided.  If it doesn't operate as you would like, modify the code and
  56.     recompile.  I see no reason why this code should do any harm, but there
  57.     are always exceptions.  Exercise due caution!
  58.  
  59. Files:
  60.  
  61.     APLAUNCH.EXE                Windows 3.0 executable file
  62.     APLAUNCH.INI                The INI file generated/used by APLAUNCH.EXE
  63.     VBRUN100.EXE                The Visual Basic DLL (not provided)
  64.     APLAUNCH.DOC                This file
  65.     CODE.ZIP                    An archive containing all of the files required
  66.                                 to work on the application within Visual Basic
  67.  
  68.     You may also which to consult my review of Visual Basic which is to appear
  69.     in one of the August issues of Direct Access.
  70.  
  71.  
  72.                                                                 Robert Fabian
  73.                                                                 Toronto, Canada
  74.                                                                 07-23-1991
  75.  
  76.